﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d" Width="200" Height="200"
	d:DesignWidth="640" d:DesignHeight="480">

        <Grid x:Name="FrontImageElement" 
              HorizontalAlignment="Stretch" VerticalAlignment="Stretch" 
              RenderTransformOrigin="0.5,0.5" Background="#FFFFFEEB">
            <Grid.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Grid.RenderTransform>
            <Border BorderThickness="4,4,4,4" BorderBrush="#FF434343">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="3*"/>
                        <ColumnDefinition Width="45*"/>
                        <ColumnDefinition Width="3*"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="3*"/>
                        <RowDefinition Height="47*"/>
                        <RowDefinition Height="13*"/>
                    </Grid.RowDefinitions>
                    <Border BorderThickness="1" BorderBrush="#FF787878"
                            Grid.Column="1" Grid.Row="1">
                        <Image x:Name="FrontImageImage" Stretch="UniformToFill"/>
                    </Border>
                </Grid>
            </Border>
            <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Stroke="#FF000000" Opacity="0.25" StrokeThickness="0">
            	<Rectangle.Fill>
            		<RadialGradientBrush>
            			<RadialGradientBrush.RelativeTransform>
            				<TransformGroup>
            					<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="2.637" ScaleY="1.995"/>
            					<SkewTransform CenterX="0.5" CenterY="0.5"/>
            					<RotateTransform CenterX="0.5" CenterY="0.5"/>
            					<TranslateTransform X="-0.006" Y="0.652"/>
            				</TransformGroup>
            			</RadialGradientBrush.RelativeTransform>
            			<GradientStop Color="#FF4D4D4D"/>
            			<GradientStop Color="#FFFFFFFF" Offset="1"/>
            			<GradientStop Color="#FFADADAD" Offset="0.75"/>
            			<GradientStop Color="#FFF3F3F3" Offset="0.781"/>
            		</RadialGradientBrush>
            	</Rectangle.Fill>
            </Rectangle>
        </Grid>
</UserControl>